package com.jinunn.yygh.hosp.client;

import com.atguigu.yygh.vo.hosp.ScheduleOrderVo;
import com.atguigu.yygh.vo.order.SignInfoVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author jindun
 */
@FeignClient(value = "service-hosp")
@Repository
public interface HospFeignClient {

    @GetMapping("/admin/hosp/schedule/inner/getScheduleOrder/{scheduleId}")
    public ScheduleOrderVo getScheduleOrder(@PathVariable("scheduleId") Long scheduleId);

    @GetMapping("/admin/hosp/hospitalSet/inner/getSignInfoVo/{hoscode}")
    public SignInfoVo getSignInfoVo(@PathVariable("hoscode") String hoscode);
}
